package org.seven;

import java.io.Serializable;
import java.net.InetAddress;

/**
 * Created by Administrator on 2016/3/14 0014.
 */
public class Users implements Serializable{
    private String name;
    private InetAddress ip;
    private int port;
    private String message;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public InetAddress getIp() {
        return ip;
    }

    public void setIp(InetAddress ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Users() {
    }

    public Users(String name, InetAddress ip, int port, String message) {

        this.name = name;
        this.ip = ip;
        this.port = port;
        this.message = message;
    }
}
